﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="UserLogin.aspx.cs" Inherits="UserLogin" Title="登录" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <table cellpadding="0" cellspacing="0" class="txt"  bgcolor="#ffffff" 
    background="images/beij.jpg" width="779" style="height: 595px">
    <tr style="height:100px">
    <td></td><td></td></tr>
         <tr>
     <td style="width:150px;"></td>
     <td valign=top>
            <table border="1" cellpadding="0" cellspacing="0" style="border-collapse:collapse;">
            <tr>
            <td>
           <span style="font-size:13; color:Navy"><b>用户登录</b></span> 
            </td>
            </tr>
                <tr>
                    <td style="height: 67px">
                        <table border="0" cellspacing="0" >
                            <tr>
                            
                                <td colspan="3" style="height: 43px; text-align: center; font-size: large;">
                                    科研成果管理平台</td></tr>
                                    
                            <tr>
                                <td align="right" style="width: 72px; font-size:12; text-align:right">
                                    用户名/邮箱:
                                </td>
                                
                                <td style="width: 165px; font-size:12;border-right: 1 solid black; ">
                                    <asp:TextBox ID="UserName" runat="server" Width="150px" TabIndex="1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                        ControlToValidate="UserName" ErrorMessage="不能为空" ToolTip="不能为空" 
                                        ValidationGroup="UserLogin">*</asp:RequiredFieldValidator>
                                </td>
                                <td  align="left"style="font-size:12; width: 185px">&nbsp;&nbsp;&nbsp; 还没有账号？<a href="UserRegister/Register.aspx" tabindex="3" style="text-decoration:none">加入我们</a></td>
                            </tr>
                            <tr>
                                <td style="width: 72px; font-size:12;text-align: right">
                                    密码:
                                </td>
                                <td  style="width: 165px; font-size:12;border-right: 1 solid black;">
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="150px" TabIndex="2"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                        ControlToValidate="Password" ErrorMessage="密码不能为空." ToolTip="密码不能为空." 
                                        ValidationGroup="UserLogin">*</asp:RequiredFieldValidator>
                                </td>
                                <td align="left" style="font-size:12">&nbsp;&nbsp;&nbsp; <a href="ForgotPassword.aspx" TabIndex="4" style="text-decoration:none">忘记密码</a>？</td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" 
                                    style="color:Red; text-align: right; font-size:12; height: 18px;">
                                    <asp:Label ID="FailureText" runat="server" Visible="false"></asp:Label>
                                </td>
                                <td></td>
                            </tr>
                            <tr style="background-color:#f2f2f2; border-top-color:Gray; border-top-style:solid; border-top-width:thick">
                                <td  colspan="2" style="text-align: right; font-size:12">
                                    <asp:Button ID="LoginButton" runat="server"
                                        OnClick="LoginButton_Click" Text="登录" ValidationGroup="UserLogin"
                                        Width="59px"  Height="25px" BackColor="#e7ebf5" BorderColor="AliceBlue" ForeColor="#32668b"/>
                                <asp:CheckBox ID="RememberMe" runat="server" Checked="True" Text="记住我." />
                                   
                                </td>
                                <td>&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
    </td>
    </tr>
    <tr><td style="width: 150px"></td></tr>
    </table>
</asp:Content>

